package net.dodoman.enums;

public class EnumWithProp {
	enum Belle {
		西施("春秋战国", "范蠡,勾践,夫差"), 王昭君("西汉", "刘?,毛延寿,呼韩邪单于"), 貂禅("三国", "吕布,董卓"), 杨贵妃(
				"唐朝", "李隆基");
		private final String empire;
		private final String mans;

		private Belle(String empire, String mans) {
			this.empire = empire;
			this.mans = mans;
		}

	}

	public static void main(String[] args) {
		for (Belle belle : Belle.values()) {
			System.out.printf("美女的名字:%s,  生活年代:%s,  美女身后的相关男人:%s%n", belle,
					belle.empire, belle.mans);
		}
	}
}